package com.wnxy.sddfp.common.model.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户登录DTO
 */
@Data
@ApiModel("用户登录DTO")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LoginDto {
    @ApiModelProperty("是否手机号登录")
    private Boolean isPhoneLogin;
    @ApiModelProperty("手机号或用户名")
    private String loginName;
    @ApiModelProperty("验证码或密码")
    private String loginSecret;
}
